﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WhutDoomCheck.Shared.HttpModels
{
    public class RecordReview
    {
        public int Id { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Time { get; set; }

        /// <summary>
        /// 学号
        /// </summary>
        public string Sno { get; set; } = null!;

        /// <summary>
        /// 学生姓名
        /// </summary>
        public string Name { get; set; } = null!;

        /// <summary>
        /// 原来的宿舍
        /// </summary>
        public string? OldDoom { get; set; } // 例如：学海2舍-302  西14-321

        /// <summary>
        /// 修改后宿舍
        /// </summary>
        public string? NewDoom { get; set; }

        /// <summary>
        /// 原校外住宿地址
        /// </summary>
        public string? OldAddress { get; set; } 

        /// <summary>
        /// 修改后校外住宿地址
        /// </summary>
        public string? NewAddress { get; set; }

    }

    public class RecordReviewHistory : RecordReview
    {
        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; } = null!;

        /// <summary>
        /// 备注
        /// </summary>

        public string Comment { get; set; } = null!;
    }
}
